package com.deshan.websys.code.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;


@Data
//@TableName("t_ums_user")
public class UmsUser implements Serializable {

	private static final long serialVersionUID = 5109201358277508592L;

	@TableId(type = IdType.ASSIGN_UUID)
	private String id;

	//private String post;

	private String username;
	private String password;
	private String phone;
	private String assessor;

	private String area;
	private String community;
	private String images;

	private String remarks;
	private String nameCn;
	private String nameEn;
	
	private String legalCode;
	
	/**
	 * 操作类型，1：超管，2：管理员，3：客服
	 */
	private Integer roleType;
	
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date upDateTime;
	@TableLogic
	private int isDeleted;
}
